
import  request  from "../utlis/request.js"
//商品分类
export const api_query=(data)=>request.get("/goods/catelist",data);
//添加分类
export const api_add=(data)=>request.post("/goods/addcate",data);
//删除分类
export const  api_del=(data)=>request.get("/goods/delcate",data);
//修改分类
export const  api_update=(data)=>request.post("/goods/editcate",data);

//商品列表
export const api_list=(data)=>request.get("/goods/list",data)
//删除账号
export const api_dele=(data)=>request.get("/goods/del",data)
//查询所有分类
export const api_listly=(data)=>request.get("/goods/categories",data)
//修改商品
export const api_updata=(data)=>request.post("/goods/edit",data)


